package com.ltkj.baseplatform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.TreeEntity;

/**
 * 收货地址区域对象 ser_address_area
 * 
 * @author chenzeen
 * @date 2023-08-31
 */
@ApiModel(value = "收货地址区域")
public class SerAddressArea extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 区域编码 */
    @Excel(name = "区域编码")
    @ApiModelProperty("区域编码")
    private String areaCode;

    /** 区域名称 */
    @Excel(name = "区域名称")
    @ApiModelProperty("区域名称")
    private String areaName;

    /** 上级区域 */
    @Excel(name = "上级区域")
    @ApiModelProperty("上级区域")
    private String pAreaCode;

    /** 区域等级 */
    @Excel(name = "区域等级")
    @ApiModelProperty("区域等级")
    private String areaLevel;

    /** 区域排序 */
    @Excel(name = "区域排序")
    @ApiModelProperty("区域排序")
    private Long areaOrder;

    /** 假如是长安区,那么值就是河北省石家庄市长安区;是石家庄值就是河北省石家庄市 */
    @ApiModelProperty("假如是长安区,那么值就是河北省石家庄市长安区;是石家庄值就是河北省石家庄市")
    private String allAreaName;

    /** 0:正常 1:暂停 */
    @Excel(name = "0:正常 1:暂停")
    @ApiModelProperty("0:正常 1:暂停")
    private String areaStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setpAreaCode(String pAreaCode) 
    {
        this.pAreaCode = pAreaCode;
    }

    public String getpAreaCode() 
    {
        return pAreaCode;
    }
    public void setAreaLevel(String areaLevel) 
    {
        this.areaLevel = areaLevel;
    }

    public String getAreaLevel() 
    {
        return areaLevel;
    }
    public void setAreaOrder(Long areaOrder) 
    {
        this.areaOrder = areaOrder;
    }

    public Long getAreaOrder() 
    {
        return areaOrder;
    }
    public void setAllAreaName(String allAreaName) 
    {
        this.allAreaName = allAreaName;
    }

    public String getAllAreaName() 
    {
        return allAreaName;
    }
    public void setAreaStatus(String areaStatus) 
    {
        this.areaStatus = areaStatus;
    }

    public String getAreaStatus() 
    {
        return areaStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("pAreaCode", getpAreaCode())
            .append("areaLevel", getAreaLevel())
            .append("areaOrder", getAreaOrder())
            .append("allAreaName", getAllAreaName())
            .append("areaStatus", getAreaStatus())
            .toString();
    }
}
